﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>分光数据提交系统</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    {% block styles %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    {% endblock %}
</head>
<body>

<div class="container">
        <br>
        <br>
        <h5 class="col-md-6 offset-md-2">分光数据提交系统</h5>
<br>
        <form method="post" enctype="multipart/form-data">
        {{ form.csrf_token }}
        <div class="col-md-6 offset-md-2 ">
            {{ form.mo_id.label }}<br>
            {{ form.mo_id }}<br>
            {% if form.mo_id.errors %}
            {% for message in form.mo_id.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}



        {{ form.user_id.label }}<br>
        {{ form.user_id }}<br>
            {% if form.user_id.errors %}
            {% for message in form.user_id.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

            {{form.rework}}
            {{form.rework.label}}
            {{form.sampling}}
            {{form.sampling.label}}
            {{form.concession}}
            {{form.concession.label}}
            {{form.inventory}}
            {{form.inventory.label}}
            <br>
            {{form.one_to_one}}
            {{form.one_to_one.label}}
            {{form.check_pot}}
            {{form.check_pot.label}}
            {{form.double_meter}}
            {{form.double_meter.label}}
            {{form.pulse}}
            {{form.pulse.label}}
            <br>

        {{ form.excel_data(class='input-group-btn') }}<br>

             {{ form.notes.label }}<br>
            {{ form.notes }}<br>
        </div>


        <br>
        <div class="col-md-2 offset-md-2 ">
        {{ form.submit(class='btn btn-success btn-lg btn-block')}}
        </div>

    <br>
    </form>
</div>

</body>
</html>


